Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hard coded pip show in fix_direct_url #2352

Merged
merged 2 commits into from
Dec 1, 2024
Merged

Conversation

mbway
Copy link
Contributor

@mbway mbway commented Dec 1, 2024

Before uv 0.4.25, uv pip show did not support the --files argument which is required by fix_direct_url. Now that the flag is supported, falling back to pip is not necessary.

Error handling is also improved. Previously if pip was not present in the environment (which is the case for uv venv) no error was reported to the user but fix_direct_url will have failed so the package is not installed in editable mode.

fixes #2346

Before uv 0.4.25, `uv pip show` did not support the `--files` argument
which is required by `fix_direct_url`. Now that the flag is supported,
falling back to pip is not necessary.

Error handling is also improved. Previously if pip was not present
in the environment (which is the case for `uv venv`) no error was
reported to the user but `fix_direct_url` will have failed so the
package is not installed in editable mode.
@mbway
Copy link
Contributor Author

mbway commented Dec 1, 2024

not sure why the develop_cffi_mixed test is failing on windows but passing on other platforms. The other failures seem to be CI flakyness rather than something wrong

pyproject.toml Show resolved Hide resolved
Copy link
Member

@messense messense left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@messense messense enabled auto-merge (squash) December 1, 2024 12:49
@messense messense merged commit 5708c78 into PyO3:main Dec 1, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

non-editable install with maturin develop --uv
2 participants